package com.dcy.znoa.controller.sys.model.role;

import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import lombok.*;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddRoleModel{
	
	@NotNull
    @Size(min=1,max=50,message="角色名称长度只能在1-50之间")
    String roleName;

    @Size(max=50,message="角色描述长度不能大于50")
	String describe;
	
    Long compId;
    
    String compName;
    
    Long createOperId;

    Date createTime = new Date();

    Integer validFlag = 1;

}
